<?php
/**
 * Created by PhpStorm.
 * User: u
 * Date: 2019/3/28
 * Time: 20:00
 */
namespace common\sources\read\valueserviceprohibit;

use common\models\craftsman\ValueServiceProhibit;
use Yii;

class ValueServiceProhibitAccess implements IValueServiceProhibitAccess
{
    public function getValueServiceProhibit($value_service_id)
    {
        return ValueServiceProhibit::find()
            ->select("id,bus_id,pro_name,pro_code,city_name,city_code,create_time")
            ->where(["value_service_id" =>$value_service_id])
            ->asArray()
            ->all();
    }
}